package newhiant.hianto2o.com.activity;

import android.databinding.DataBindingUtil;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;

import newhiant.hianto2o.com.R;
import newhiant.hianto2o.com.databinding.ActivityImageBinding;

public class ImageActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        ActivityImageBinding activityImageBinding = DataBindingUtil.setContentView(this, R.layout.activity_image);
        activityImageBinding.setImgUrl1("https://ss0.baidu.com/6ONWsjip0QIZ8tyhnq/it/u=3302234187,3856519298&fm=173&s=6B61536E5FEA80590AD1E51801007092&w=500&h=280&img.JPG");
        activityImageBinding.setImgUrl2("https://ss2.baidu.com/6ONYsjip0QIZ8tyhnq/it/u=907911422,3914247100&fm=173&s=4FB01AC748F73294320C892203009093&w=614&h=418&img.JPG");

//        setContentView(R.layout.activity_image);
    }
}
